<template>
  <div>
    <h1>{{ msg }}</h1>
    <h1>{{ error.statusCode }} / {{error.message}}</h1>
    <nuxt-link :to="{ name: 'index' }">回首页</nuxt-link>
  </div>
</template>

<script>
export default {
  props:['error'],
  data() {
    return {
      msg: '这个是错误页面'
    };
  }
};
</script>

<style></style>
